package com.yulong.web.mapper;

import com.yulong.model.pojo.UmsAdminRoleRelation;
import com.yulong.model.pojo.UmsPermission;

import java.util.List;

public interface UmsAdminRoleRelationMapper {

    List<UmsAdminRoleRelation> queryAdminRoleRelationList(Long adminId);
    Integer createAdminRole(List<UmsAdminRoleRelation> list);
    Integer deteleAdminRole(Long id);
    //获取用户所有权限（包括角色权限和+-权限）
    List<UmsPermission> getPermissionList(Long adminId);

}
